package com.zrrd.learn.chapter08面向对象.pattern.proxy;

import lombok.Data;

/**
 * 被告人
 *
 * @author wrn
 * @version 1.0
 * @date 2023/8/4 8:58
 */
@Data
public class Defendant implements Sayinterface {

    private String name;

    @Override
    public void say() {
        System.out.println(this.getName() + "说明一下情况");
        System.out.println(this.getName() + "我无罪......");
    }

}

